@import url("https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap");

body {
  direction: rtl;
  font-family: "El Messiri", sans-serif;
}

:root {
  --ebhro3-container-width: 1440px;
  --ebhro3-white: #ffffff;
  --ebhro3-dark: #000000;

  --ebhro3-primary: #173f4f;
  --ebhro3-overlay: hsla(205, 26%, 20%, 0.8);

  --ebhro3-secondary: #8a8f68;
  --ebhro3-site-color: 205, 26%, 20%;
  --ebhro3-gray: #cccccc;
  --ebhro3-whatsapp-color: #25d366;

  --ebhro3-space-xs: 0.4rem;
  --ebhro3-space-sm: 0.8rem;
  --ebhro3-space-md: 1.2rem;
  --ebhro3-space-lg: 2rem;
  --ebhro3-space-xl: 3rem;

  --ebhro3-fs-sm: 0.85rem;
  --ebhro3-fs-md: 1.1rem;
  --ebhro3-fs-lg: 1.125rem;

  /* ====== border radius === */
  --ebhro3-br-lg: 50px;
  /* ===== TRANSITION ===== */
  --ebhro3-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Gallery & Overlays */
  --ebhro-img-border-color: #ffffff;
  --ebhro-overlay-bg: rgba(255, 255, 255, 0.85);
  --ebhro-overlay-text-color: #333333;
  --ebhro-overlay-border-color: #c5a059;
}

body {
  direction: rtl;
}

a {
  text-decoration: none;
  color: inherit;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ebhro3-hero {
  min-height: 70vh;

  display: flex;

  align-items: center;

  justify-content: center;

  background: var(--ebhro3-primary);

  background-repeat: no-repeat;
  padding-block: var(--ebhro3-space-md);
  width: 100%;
}

.ebhro3-container {
  max-width: var(--ebhro3-container-width);

  width: 100vw;

  width: 100%;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: start;

  /* border: 1px solid red; */
}

.ebhro3-content {
  width: 100%;

  /* border: 1px solid blue; */

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: var(--ebhro3-space-xl);

  align-items: center;

  justify-content: center;

  padding-inline: var(--ebhro3-space-sm);
}

.ebhro3-text-block {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;

  gap: var(--ebhro3-space-lg);

  /* border: 1px solid red; */
}

.ebhro3-title {
  font-size: clamp(1.5rem, 4vw, 3rem);

  font-weight: clamp(600, 2vw, 900);

  color: var(--ebhro3-white);
}

.ebhro3-title span {
  color: var(--ebhro3-secondary);
}

.ebhro3-description {
  font-size: clamp(var(--ebhro3-fs-md), 1.5vw, 1.4rem);

  color: var(--ebhro3-white);

  max-width: 520px;
}

.ebhro3-list {
  display: flex;

  flex-direction: column;

  gap: var(--ebhro3-space-xs);

  padding-right: var(--ebhro3-space-lg);

  font-weight: clamp(500, 2vw, 700);

  color: var(--ebhro3-white);
}

.ebhro3-list-item {
  font-size: var(--ebhro3-fs-lg);
}

/* === Hero Buttons === */
.ebhro3-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.ebhro3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-size: var(--ebhro3-fs-md);
  font-weight: 700;
  border-radius: var(--ebhro3-br-lg);
  transition: var(--ebhro3-transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.ebhro3-btn-primary {
  background-color: var(--ebhro3-secondary);
  color: var(--ebhro3-white);
}

.ebhro3-btn-primary:hover {
  background-color: transparent;
  border-color: var(--ebhro3-secondary);
  color: var(--ebhro3-secondary);
}

.ebhro3-btn-whatsapp {
  background-color: var(--ebhro3-whatsapp-color);
  color: var(--ebhro3-white);
}

.ebhro3-btn-whatsapp:hover {
  background-color: transparent;
  border-color: var(--ebhro3-whatsapp-color);
  color: var(--ebhro3-whatsapp-color);
}

/* === Gallery Area === */
.ebhro-hero__gallery {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  justify-content: center;
  align-items: center;
  /* تطبيق الأنيميشن على السيكشن بالكامل */
  animation: ebhro-float 5s ease-in-out infinite;
}

.ebhro-gallery__col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 50%;
}

.ebhro-gallery__item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 6px solid var(--ebhro-img-border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.ebhro-gallery__img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.ebhro-gallery__item--short .ebhro-gallery__img {
  height: 200px;
}

.ebhro-gallery__item--tall .ebhro-gallery__img {
  height: 280px;
}

/* === Image Overlay === */
.ebhro-gallery__overlay {
  position: absolute;
  bottom: 25px;
  right: 0;
  background-color: var(--ebhro-overlay-bg);
  border-right: 4px solid var(--ebhro-overlay-border-color);
  padding: 0.5rem 1.5rem 0.5rem 1rem;
  border-radius: 8px 0 0 8px;
}

.ebhro-overlay__text {
  color: var(--ebhro-overlay-text-color);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .ebhro3-content {
    grid-template-columns: 1fr;
  }

  .ebhro-hero__gallery {
    width: 100%;
  }
}
@keyframes ebhro-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); /* يرتفع لأعلى بمقدار 20 بيكسل */
  }
}
